package com.socialcoco.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 赵志浩
 * @since 2022-05-30 07:11:11
 */
@Getter
@Setter
@TableName("seckillproduct")
@ApiModel(value = "Seckillproduct对象", description = "")
public class Seckillproduct {

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("秒杀商品图片")
    @TableField("rewardimg")
    private String rewardimg;

    @ApiModelProperty("秒杀商品标题")
    @TableField("rewardtittle")
    private String rewardtittle;

    @ApiModelProperty("秒杀商品库存")
    @TableField("num")
    private Integer num;

    @ApiModelProperty("秒杀商品价格")
    @TableField("rewardprice")
    private Integer rewardprice;

    @ApiModelProperty("秒杀商品状态")
    @TableField("active")
    private Integer active;

    @ApiModelProperty("逻辑删除")
    @TableField("deleted")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty("发布时间")
    @TableField("createTime")
    private Date createTime;


}
